package com.endava.FlowControlAndAssertions;

public class Ex6 {

	public int diffBetweenNumber(int year1, int year2) {
		int yearDiff;
		yearDiff = (year2 - year1);
		return yearDiff;
	}

	public static void main(String[] args) {
		Ex6 ex6 = new Ex6();
		int nrOfDays;
		int nrOfMonths;

		int res = ex6.diffBetweenNumber(2013, 2025);
		nrOfDays = res * 365;
		nrOfMonths = res * 12;

		System.out.println(res);
		System.out.println(nrOfDays);
		System.out.println(nrOfMonths);

	}

}
